package com.rabbit.service.domain.entity;

import java.math.BigDecimal;
import java.time.LocalDate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.rabbit.config.jpa.basic.BaseEntity;

import lombok.Getter;
import lombok.Setter;
/**
 * 节假日
 * @author WenBin 创建时间 2023-04-11 19:11
 */
@Getter
@Setter
@Entity
@Table(name="predict_data")
public class PredictDataEntity{

	
    @Id
   	@Column(name = "auto_id", columnDefinition="INTEGER  COMMENT '主键'") 
	private String autoId;
    
    @Column(name = "id", columnDefinition="VARCHAR(10)  COMMENT '设备ID'") 
	private String id;
    
    @Column(name = "hour", columnDefinition="INTEGER  COMMENT '事件时间节点 24小时分隔'") 
	private String hour;
    
    @Column(name = "time_group", columnDefinition="INTEGER  COMMENT '时间分组'") 
	private String timeGroup;
    
    @Column(name = "weekday", columnDefinition="INTEGER  COMMENT '1 是周末 0 不是 '") 
	private String weekday;
    
    @Column(name = "status", columnDefinition="VARCHAR(1)  COMMENT 'U 未知 S 停车 M 移动 '") 
	private String status;
    
    @Column(name = "longitude", columnDefinition="INTEGER  COMMENT '经度'") 
	private BigDecimal longitude;
    
    @Column(name = "latitude", columnDefinition="decimal(20,8)  COMMENT '纬度'") 
	private BigDecimal latitude;
    
    @Column(name = "incident_date", columnDefinition="date  COMMENT '事件时间'") 
	private LocalDate incidentDate;
}
